﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xRegSvr32（注册注销COM组件）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xRegSvr32(FilePath As WString Ptr, mode As Integer) As Integer<br>int xRegSvr32(wchar* FilePath, int mode);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xRegSvr32(ByVal FilePath As String, ByVal mode As Long) As Long</P>
<P>参数：<br>FilePath：要注册的COM组件文件路径<br>mode：注册模式[0=注册、1=卸载、2=重新注册]</P>
<P>注册成功返回true，注册失败返回false</P>
<P>说明：<br>十分便捷的注册COM组件函数，用重新注册模式可以解决大多数大漠插件注册不了的问题。</P>
</body>
</html>